﻿CREATE TABLE [dbo].[BillOrderDisWin] (
    [Id]          INT            IDENTITY (1, 1) NOT NULL,
    [BillOrderId] INT            NOT NULL,
    [RcptNo]      NVARCHAR (50)  NULL,
    [VisitNo]     NVARCHAR (50)  NULL,
    [DisWinAdd]   NVARCHAR (200) NULL,
    [DisWin]      NVARCHAR (50)  NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'主键，自增长', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BillOrderDisWin', @level2type = N'COLUMN', @level2name = N'Id';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'缴费订单Id', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BillOrderDisWin', @level2type = N'COLUMN', @level2name = N'BillOrderId';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'收据号', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BillOrderDisWin', @level2type = N'COLUMN', @level2name = N'RcptNo';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'新流水号', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BillOrderDisWin', @level2type = N'COLUMN', @level2name = N'VisitNo';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'发药地址', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BillOrderDisWin', @level2type = N'COLUMN', @level2name = N'DisWinAdd';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'发药窗口', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BillOrderDisWin', @level2type = N'COLUMN', @level2name = N'DisWin';

